package com.lunago.agent.mapper;

import com.lunago.agent.pojo.entity.UserPermium;
import com.lunago.agent.pojo.entity.UserPermiumExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserPermiumMapper {
    int countByExample(UserPermiumExample example);

    int deleteByExample(UserPermiumExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UserPermium record);

    int insertSelective(UserPermium record);

    List<UserPermium> selectByExample(UserPermiumExample example);

    UserPermium selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") UserPermium record, @Param("example") UserPermiumExample example);

    int updateByExample(@Param("record") UserPermium record, @Param("example") UserPermiumExample example);

    int updateByPrimaryKeySelective(UserPermium record);

    int updateByPrimaryKey(UserPermium record);
}